# pragma once

#include<string>
#include<iostream>
#include<array>
#include"Component.h"

class ConcreteComponentA;
class ConcreteComponentB;

class ConcreteVisitor1{
public:
    void VisitConcreteComponentA(const ConcreteComponentA *element) const;
    void VisitConcreteComponentB(const ConcreteComponentB *element) const;
};
class ConcreteVisitor2{
public:
    void VisitConcreteComponentA(const ConcreteComponentA *element) const;
    void VisitConcreteComponentB(const ConcreteComponentB *element) const;
};